/**
* @author maze | guavestudios.com
* @license MIT License see LICENSE.TXT
* @version 0.1
*/
package com.guavestudios.fcon.events {
	import flash.events.Event;
	import com.guavestudios.fcon.api.IConsole;

	public class ConsoleEvent extends Event{
		
		//{ STATIC
		public static const CONSOLE_TOGGLE:String="ConsoleEvent.CONSOLE_TOGGLE";
		//}
		
		//{ MEMBERS
		private var console:IConsole;
		//}
		
		//{ GETTER-SETTER
	/**
	* gets the console
	*  
	*  @return IConsole
	*/
	public function getConsole():IConsole {
		return this.console;
	}
	/**
	* sets the console
	*  
	*  @param pconsole[IConsole]
	*  @return
	*/
	public function setConsole(pconsole:IConsole):void {
		this.console = pconsole;
	}
		
		//}
		/**
		* Create a new ConsoleEvent
		* @param	type	type
		* @param	c	the referencing console
		*/
		public function ConsoleEvent(type:String,c:IConsole) {
			console=c;
			super(type);
		}

		//{ PUBLIC FUNCTIONS
		
		//}
		
		//{ OVERRIDEN METHODS
		
		//}
		
		//{ PRIVATE FUNCTIONS
		
		//}

	}
	
}
